FROM docker.io/openanolis/anolisos:8.6

LABEL \
        org.opencontainers.image.title="wrk_keentune" \
        org.opencontainers.image.version="v1.0-8.6" \
        maintainer="OpenAnolis KeenTune SIG"

COPY nginx_http_long.sh nginx_http_long.sh
COPY nginx_http_short.sh nginx_http_short.sh
COPY nginx_https_long.sh nginx_https_long.sh
COPY nginx_https_short.sh nginx_https_short.sh

RUN yum install git make tar gcc -y \
    && git clone https://ali_containeros:Test\(12\)@code.aliyun.com/ostest/wrk.git \
    && cd wrk;make -j8;cp wrk /usr/bin;cd ..;rm -rf wrk \
    && yum remove git make tar gcc -y

